<template>
  <editor-content :editor="editor" />
</template>

<script setup>
import { useEditor, EditorContent } from '@tiptap/vue-3'
import StarterKit from '@tiptap/starter-kit'

const editor = useEditor({
  content: '<p> 运行 tiptap 编辑器的基础例子，🎉点击进行编辑。</p>',
  extensions: [
    StarterKit,
  ],
})
</script>
